package wyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dto.Result;
import com.entity.UserBarNum;

import java.util.List;

public interface UserBarService extends IService<UserBarNum> {
    int getUserBarCount(int barId);

    List<Integer> getUserBarList(String uname);

    boolean joinBar(int barId, String uName);

    boolean exitBar(int barId, String uName);
}
